##
## Makefile for makefile in /u/epitech_2014/caille_c/public/colle
## 
## Made by mickael pucheu
## Login   <pucheu_m@epitech.net>
## 
## Started on  Mon Apr 26 19:25:25 2010 mickael pucheu
## Last update Mon Apr 26 23:09:38 2010 carole cailleux
##

NAME	= starwars
SRCS	= main.c	\
	  aff_screen.c	\
	  starships.c	\
	  get_args.c	\
	  mk_meteor.c	\
	  my_put.c	\
	  xfuncs.c	\
	  set_modes.c	\
	  carac.c	\
	  gere_key.c	\
	  clear.c	\
	  str.c		\
	  get_nbr.c

OBJS	= $(SRCS:.c=.o)
CC	= gcc
RM	= rm -f
CFLAGS	= -W -Wall -Werror -Wstrict-prototypes -ansi -pedantic

$(NAME)	: $(OBJS)
	$(CC) -o $(NAME) $(OBJS) $(CFLAGS) -ltermcap

all	: $(NAME)

clean	:
	$(RM) $(OBJS)

fclean	: clean
	$(RM) $(NAME)

re	: fclean all